package com.sfd.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author haden
 * @date 2022/8/8 18:13
 **/
@TableName("stock")
@Data
public class Stock {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private String name;
    private Integer num;
}
